#include <ros/ros.h>
#include "core/common/core.h"

int main(int argc, char** argv){
    ros::init(argc, argv, "test_node");

    string glog_dir = ros::param::param<string>("/glog_dir", "/home/xxty/user_config/logs");
    common::glog::init(glog_dir, "test_node");

    setlocale(LC_ALL,"");   //ROS_INFO 中文显示, 需要添加头文件#include <sstream>
    ROS_INFO("test_node start...");

    float size = file_manager::GetFileSize("/home/xxty/tt/123.txt");
    std::cout << "size: " << size << std::endl;
    ros::spin();

    common::glog::shutdown();

    return 0;
}